High-Level Programs and Program Conditions
نویسندگان
چکیده
High-level conditions are well-suited for expressing structural properties. They can describe the precondition and the postcondition for a high-level program, but they cannot describe the relationship between the input and the output of a program derivation. Therefore, we investigate program conditions, a generalized type of conditions expressing properties on program derivations. Program conditions look like nested rules with application conditions. We present a normal form result, a suitable graphical notation, and conditions under which a satisfying program can be constructed from a program condition. We define a sequential composition on program conditions and show that, for a suitable type of program conditions with a complete dependence relation we have that: Whenever the original programs satisfy the original program conditions, then the composed program satisfies the composed program condition.
منابع مشابه
Recovering High-Level Conditions from Binary Programs
The need to get confidence in binary programs without access to their source code has pushed efforts forward to directly analyze executable programs. However, low-level programs lack high-level structures (such as types, control-flow graph, etc.), preventing the straightforward application of sourcecode analysis techniques. Especially, conditional jumps rely on low-level flag predicates, wherea...
متن کاملThe Effect of an Infant Care Educational Program on the Stress Level of Primiparous Women
Background & aim: Women experience various changes in their transition into motherhood and feel stressed while facing new challenges in this period. High levels of stress may prevent mothers from realizing their maternal role. In this study, we aimed to explore the effects of training on the stress of primiparous mothers. Methods:In this quasi-experimental intervention, 100 pregnant women were ...
متن کاملClient-Level Coverage of Needle and Syringe Program and High-Risk Injection Behaviors: A Case Study of People Who Inject Drugs in Kermanshah, Iran
Background: Needle-syringe programs (NSP) have been running in Iran since 2002. However, the coverage of such program among the NSP clients at the individual level was not studies yet. This study aimed to determine the client coverage of NSP and its correlation with high injection-related risk behaviors. Methods: A cross-sectional survey was conducted in Kermanshah province, Iran, in 2014. 230 ...
متن کاملWeakest Preconditions for High-Level Programs (Long Version)
In proof theory, a standard method for showing the correctness of a program w.r.t. given preand postconditions is to construct a weakest precondition and to show that the precondition implies the weakest precondition. In this paper, graph programs in the sense of Habel and Plump 2001 are extended to programs over high-level rules with application conditions, a formal definition of weakest preco...
متن کاملEfficiency of Staff Development Program and Its Relationship
Abstract Introduction: Skilled nurses are needed to achieve health promotion strategies, so operation and assessment via staff development program is essential. Objective: The purpose of this study was to evaluate staff development program through west Mazandaran hospital nurses and its relationship with the level of their professional competency. Methods: This study was descriptive ...
متن کامل